import myaxios from "@/api/myaxios";

let BASE_URL = "/chatApi"


let chatApi = {

    getChatHistoryByReceiverId(rId, pageNum) {
        return myaxios.get(BASE_URL + "/chat/list/" + rId + "?pageNum=" + pageNum)
    }
}

export default chatApi